class ThirdA{
	float a,b;
	void sum(float x, float y){
		a = max(x,y);
		b = min(x,y);
		System.out.print(a+b);		
	}
	static float getMaxSquare(float x, float y){
		return max(x,y) * max(x,y);
	}
	static float getMinSquare(float x,float y){
		return min(x,y)*min(x,y);	
	}
	static float max(float x,float y){
		return a >b?a:b;
	}
	float min(float x,float y){
		return a<b?a:b;
	}
}